package com.ruoyi.web.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 导航位置分类对象 t_nav
 * 
 * @author ruoyi
 * @date 2023-10-08
 */
public class TNav extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long nid;

    /** 导航名 */
    @Excel(name = "导航名")
    private String nname;

    /** 导航地址 */
    @Excel(name = "导航地址")
    private String url;

    /** 导航位置 */
    @Excel(name = "导航位置")
    private String pos;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    public void setNid(Long nid) 
    {
        this.nid = nid;
    }

    public Long getNid() 
    {
        return nid;
    }
    public void setNname(String nname) 
    {
        this.nname = nname;
    }

    public String getNname() 
    {
        return nname;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setPos(String pos) 
    {
        this.pos = pos;
    }

    public String getPos() 
    {
        return pos;
    }
    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("nid", getNid())
            .append("nname", getNname())
            .append("url", getUrl())
            .append("pos", getPos())
            .append("sort", getSort())
            .toString();
    }
}
